package com.zwz.enums;

/**
 * 链接权限类型
 * @author zwz
 *
 */
public enum UrlTypeEnum {
	
	URL_TYPE_0("0","roles"),
	URL_TYPE_1("1","perms"),
	URL_TYPE_2("2","anon"),
	URL_TYPE_3("3","authc")
 	;
	
	/**
	 * 枚举的值
	 * */
	private String code;
	
	/**
	 * 枚举的中文描述
	 * */
	private String desc;
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	private UrlTypeEnum(String code,String desc){
		this.code = code;
		this.desc = desc;
	}
}
